#pragma once

typedef struct _slots_table {
    DWORD   nLen;
    BYTE    bKeyFrame;
} SLOT_TABLE;

class Parser
{
public:
	Parser( CString );
	virtual ~Parser(void);

	virtual BOOL	Initialize() = 0;
	virtual CString GetSDP() = 0;
	virtual DWORD	GetDuration() =0;
	virtual SLOT_TABLE *	GetLengthTable() =0;
	virtual DWORD	GetSecondNum() = 0;
    
public:
	CString filename;
    CString sdp;
    DWORD   duration;
};

#define LINUX_SOURCE	0
#define WINDOWS_SOURCE	1
#define SOURCE_VERSION  1